<%@page import="accessor.CustomerAccessor"%>
<%@page import="accessor.Customer"%>
<%@page import="java.util.List"%>
<%@include file="header.jsp" %>
<%@include file="menubar/customer_menu.jsp" %>
<div class="break_line"></div>
<div class="break_line"></div>

<div id="content">
        <div id="title_content">CHANGE PASS</div>
    <form method="POST" action="../admin_change_pass">
    <table class="form_content" width="100%">
        <tr>
            <td></td>
            <td>
                <% if (request.getSession().getAttribute("changePassError") != null) {%>
                    <div class="form_error">
                        <% out.println(request.getSession().getAttribute("changePassError"));%>
                    </div>
                    <%}%>
                </td>    
            </tr>
            <tr>
                <td>OLD PASS</td>
                <td><% if(request.getSession().getAttribute("err_oldPass") != null) { %> <div class="form_error"><%= request.getSession().getAttribute("val_oldPass") %></div> <% } %>
                    <input type="password" class="form_input" name="oldPass" size="35" maxlength="40" /></td>
            </tr>
            <tr>
                <td>NEW PASS</td>
                <td><% if(request.getSession().getAttribute("err_newPass") != null) { %> <div class="form_error"><%= request.getSession().getAttribute("val_newPass") %></div> <% } %>
                    <input type="password" class="form_input" name="newPass" size="35" maxlength="40"  /></td>
            </tr>
            <tr>
                <td>CONFIRM NEW PASS</td>
                <td><% if(request.getSession().getAttribute("err_confirmPass") != null) { %> <div class="form_error"><%= request.getSession().getAttribute("val_confirmPass") %></div> <% } %>
                    <input type="password" class="form_input" name="confirm_newpass" size="35" maxlength="40"  /></td>
            </tr>
            <tr> <td></td> <td><input value="CHANGE" type="submit" class="form_submit" name="submit"/></td> </tr>
        </table>
    </form>
</div>
<!--END content-->
<%@include file="footer.jsp" %>